body {
    background-color: #f2f6fc;
    padding: 20px;
    color: #333;
}
.container {
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 50px;
}
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #1E9FFF 0%, #2D8CF0 100%);
    border-radius: 10px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.header h1 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.header p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.12);
}
.card-header {
    padding: 18px 25px;
    background: linear-gradient(90deg, #5FB878 0%, #2F9688 100%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.card-header i {
    margin-right: 12px;
    font-size: 20px;
}
.card-body {
    padding: 25px;
}
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
}
.badge-required {
    background: #FF5722;
    color: white;
}
.badge-common {
    background: #FFB800;
    color: white;
}
.badge-advanced {
    background: #009688;
    color: white;
}
.info-text {
    color: #666;
    font-size: 13px;
    margin-top: 6px;
    padding-left: 5px;
}
.array-item {
    display: flex;
    margin-bottom: 12px;
    align-items: center;
}
.array-item .layui-input {
    flex: 1;
}
.array-item .layui-btn {
    margin-left: 10px;
    height: 38px;
}
.expected-block {
    margin-left: 60px;
    background-color: #f8fbfe;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px dashed #c2d9f0;
    position: relative;
}
.expected-block:before  {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5FB878, #2F9688);
    border-radius: 3px 3px 0 0;
}
.unexpected-block {
    margin-left: 60px;
    background-color: #f8fbfe;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px dashed #c2d9f0;
    position: relative;
}
.unexpected-block:before  {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e53535, #a40000);
    border-radius: 3px 3px 0 0;
}

#interactive-container{
    margin-left: 60px;
}

.interactive-block {
    margin-left: 60px;
    background-color: #f8fbfe;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px dashed #c2d9f0;
    position: relative;
}
.interactive-block:before  {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5FB878, #2F9688);
    border-radius: 3px 3px 0 0;
}
.actions {
    text-align: center;
    margin-top: 30px;
}
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #5FB878, transparent);
    margin: 25px 0;
}
.form-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2F9688;
    margin: 30px 0 20px;
    padding-left: 10px;
    border-left: 4px solid #5FB878;
}
.hidden {
    display:  none !important;
}
@media (max-width: 768px) {
    .card-body {
        padding: 20px 15px;
    }
    .header {
        padding: 20px 15px;
    }
    .header h1 {
        font-size: 26px;
    }
}

/* 虚线框 */
.task-config-form {
    border: 2px dashed #ccc;
    padding: 20px;
    margin-top: 20px;
    background-color: #f9f9f9;

}

/* 提示图标样式 */
.help-icon {
    position: relative;
    display: inline-block;
    margin-left: 8px;
    width: 20px;
    height: 20px;
    background: #1E9FFF;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 20px;
    cursor: help;
    transition: all 0.3s ease;
}

.help-icon:hover {
    background: #FF9800;
    transform: scale(1.1);
}

/* 提示框样式 */
.help-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    padding: 15px;
    background: #2c3e50;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: normal;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.help-icon:hover::after {
    opacity: 1;
    left: 35px;
}

/* 添加小三角 */
.help-icon::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: #2c3e50;
    opacity: 0;
    transition: all 0.3s ease;
}

.help-icon:hover::before {
    opacity: 1;
    left: 29px;
}


#match-container{
    margin-left: 60px;
}


/* ---------- 覆盖layUI原始的css ---------- */
.layui-input-block{
    /* z-index: 50; */
    margin-left: 120px;
}
.layui-form-label{
    width: auto;
    /* z-index: 51; */
}
.help-icon{
    z-index: 1001;
}